package com.ynny.UserManage.Service;

import com.ynny.UserManage.enity.User;

public interface UserService {
    /**
     * 注册新用户
     *
     * @param user 包含用户信息的对象
     * @return 注册成功返回 true，否则返回 false
     */
    int register(User user);

    User queryUserByName(String username);
}
